<?php
namespace app\common\process;

class Jisongbang extends Base {
	public function get_express_info() {
		try {
			$post = loader()->loadAny('request', 'Jisongbang')->get_express_info();
			$validate = loadValidate('Jisongbang');
			if(!$validate->check($post)) {
				$this->error($validate->getError());
			}
			if($post['test']) {
				$result = $post;
			}
			$result = loadTool('Jisongbang')->get_express_info($post['no']);
		} catch(\Exception $e) {
			$this->error($e->getMessage());
		}
		return $result;
	}
}
